package string02;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line ="dawdas7d6a6s5d6asd87as87f67";
        line = line.replaceAll("[0-9]+","*");
        System.out.println(line);
    }
}
